OBJS=csmartptr csharedptr shared_ptr deleter
FLAGS=-g

all:$(OBJS)
csmartptr:csmartptr.cc
	g++ $(FLAGS) -o $@ $<
csharedptr:csharedptr.cc
	g++ $(FLAGS) -o $@ $<
shared_ptr:shared_ptr.cc
	g++ $(FLAGS) -o $@ $<
deleter_lambda:deleter_lambda.cc
	g++ $(FLAGS) -o $@ $<
deleter:deleter.cc
	g++ $(FLAGS) -o $@ $<
clean:
	rm $(OBJS)
